# Using BCP-47 language codes. These codes are used for generating filenames and for TTS services.
# Using specific regional codes (e.g., en-US) is important for consistency and compatibility.

TARGET_LANGUAGES = {
    "en-US": "English (US)",
    "zh-CN": "Chinese (Simplified)",
    "zh-TW": "Chinese (Traditional)",
    "ja-JP": "Japanese",
    "ko-KR": "Korean",
    "es-ES": "Spanish (Spain)",
    "fr-FR": "French (France)",
    "de-DE": "German",
    "ru-RU": "Russian",
    "pt-BR": "Portuguese (Brazil)",
    "it-IT": "Italian",
    "ar-SA": "Arabic (Saudi Arabia)",
    "hi-IN": "Hindi",
}

# For source language, we allow 'auto' detection.
# The list is based on target languages for UI consistency.
# Translation services are generally good at handling regional codes for source languages.
SOURCE_LANGUAGES = {
    "auto": "Auto Detect",
    **TARGET_LANGUAGES
}